<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class MY_Category {

	var $CI;
	var $p_category_depth_limit;

    public function __construct($params)
    {
		// Set the super object to a local variable for use later
		$this->CI =& get_instance();
		$p_category_depth_limit = $CI->config->item('category_depth_limit');
    }


    public function category_menu($param)
    {
    	$detail_data['category_depth_limit'] = $this->config->item('category_depth_limit');
    }


    public function category_selector($param)
    {

    }


    private function _get_category()
    {
    	$CI->load->model('/admin/category_mo', 'category_mo');
    	$data = $CI->category_mo->get_all_category('0', 1);

    	return $data;
    }
}
